<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  author: Jsonor
  date: 2018/5/8 16:04
  description: Description
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<div>
  <img src="../img/3.png" alt="" style="position: absolute;width: 200px;margin-left: 40%;">
</div>
<head>
  <title>Title</title>
  <style type="text/css">
  #div1 img{
    cursor: pointer;
    transition:all 0.6s ;
  }
    #div1 img:hover{
      transform: scale(1.2);
    }
  </style>
</head>
<body>
<%@include file="daohanglan.jsp"%>
<div>
<ul>
  <c:forEach var="p" items="${product}">
    <li class="li-product">
       <a href="${pageContext.request.contextPath}/product/showProduct.do?id=${p.id}">
         <div style="float: left;margin-left:50px;margin-top:100px;" id="div1">
         <img src="${pageContext.request.contextPath}/img/${p.image}" top="100"width="170" height="170"
         style="display: inline-block;"/>
           <dd style="text-align: center;margin-top: 15px;margin-left: auto">${p.name}</dd>
           <dd style="text-align: center;margin-left: auto">描述:${p.describe}</dd>
         </span>
         </div>
       </a>
    </li>
  </c:forEach>
</ul>
</div>

</body>
</html>
